<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"

date_default_timezone_set('UTC');
if ($_SERVER['HTTP_HOST'] != 'localhost')
{
	$hostname_dbconn = "localhost";
	$rating_dbname = "lynscoupon";
	$username_dbconn = "";
	$password_dbconn = "";
}
else
{
	$hostname_dbconn = "localhost";
	$rating_dbname = "lynscoupon";
	$username_dbconn = "root";
	$password_dbconn = "";
}
$conn = mysql_pconnect($hostname_dbconn, $username_dbconn, $password_dbconn) or (mysql_error());
mysql_select_db($rating_dbname,$conn) or die(mysql_error()); 

include("settings.inc.php");
?>